-# Overview of actions in GTK {#actions-overview}
+Title: Overview of actions in GTK
+Slug: actions
This chapter describes in detail how GTK uses actions to connect
activatable UI elements to callbacks. GTK inherits the underlying
-# Using GTK with Broadway {#gtk-broadway}
+Title: The Broadway windowing system
+Slug: broadway
+
+## Using GTK with Broadway
The GDK Broadway backend provides support for displaying GTK
applications in a web browser, using HTML5 and web sockets. To run
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo
```
-## Broadway-specific environment variables {#broadway-envar}
+## Broadway-specific environment variables
-### BROADWAY_DISPLAY
+### BROADWAY\_DISPLAY
Specifies the Broadway display number. The default display is 0.
The display number determines the port to use when connecting
-# Compiling the GTK Libraries {#gtk-building}
+Title: Compiling the GTK Libraries
+Slug: gtk-building
## Building GTK
-# Compiling GTK Applications on UNIX {#gtk-compiling}
+Title: Compiling GTK Applications on UNIX
+Slug: gtk-compiling
To compile a GTK application, you need to tell the compiler where to
find the GTK header files and libraries. This is done with the
-# CSS in GTK {#css}
+Title: CSS in GTK
+Slug: css
This chapter describes how GTK uses CSS for styling and layout.
It is not meant to be an explanation of CSS from first principles,
-# GTK CSS Properties
+Title: GTK CSS Properties
+Slug: css-properties
GTK supports CSS properties and shorthands as far as they can be applied
in the context of widgets, and adds its own properties only when needed.
-# Overview of the drawing model {#drawing-overview}
+Title: Overview of the drawing model
+Slug: drawing-overview
This chapter describes the GTK drawing model in detail. If you
are interested in the procedure which GTK follows to draw its
-# Getting Started with GTK {#gtk-getting-started}
+Title: Getting Started with GTK
+Slug: gtk-getting-started
GTK is a [widget toolkit](http://en.wikipedia.org/wiki/Widget_toolkit).
Each user interface created by GTK consists of widgets. This is implemented
-# Overview of GTK input and event handling {#input-overview}
+Title: Overview of GTK input and event handling
+Slug: input-overview
This chapter describes in detail how GTK handles input. If you are interested
in what happens to translate a key press or mouse motion of the users into a
-# Migrating from GTK 2.x to GTK 4 {#gtk-migrating-2-to-4}
+Title: Migrating from GTK 2.x to GTK 4
+Slug: gtk-migrating-2-to-4
If your application is still using GTK 2, you should first convert it to GTK 3,
by following the [migration guide](https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html)
-# Migrating from GTK 3.x to GTK 4 {#gtk-migrating-3-to-4}
+Title: Migrating from GTK 3.x to GTK 4
+Slug: gtk-migrating-3-to-4
GTK 4 is a major new version of GTK that breaks both API and ABI
compared to GTK 3.x. Thankfully, most of the changes are not hard
-# Using GTK on Apple macOS {#gtk-osx}
+Title: Using GTK on Apple macOS
+Slug: gtk-osx
The Apple macOS port of GTK is an implementation of GDK (and therefore GTK)
on top of the Quartz API.
-# Common Questions {#gtk-question-index}
+Title: Common Questions
+Slug: gtk-question-index
This is an "index" of the reference manual organized by common "How do
I..." questions. If you aren't sure which documentation to read for
-# Contact information and bug reports {#gtk-resources}
+Title: Contact information and bug reports
+Slug: gtk-resources
## Opening a bug or feature request
-# Running and debugging GTK Applications {#gtk-running}
+Title: Running and debugging GTK Applications
+Slug: gtk-running
## Environment variables
-# GTK Accessibility {#gtk-accessibility}
+Title: GTK Accessibility
+Slug: gtk-accessibility
## The standard accessibility interface
-# List Widget Overview {#ListWidget}
+Title: List Widget Overview
+Slug: gtk-list-widget
GTK provides powerful widgets to display and edit lists of data. This document
gives an overview over the concepts and how they work together to allow
-# Text Widget Overview {#TextWidget}
+Title: Text Widget Overview
+Slug: gtk-textview
GTK has an extremely powerful framework for multiline text editing. The
primary objects involved in the process are #GtkTextBuffer, which represents the
-# Tree and List Widget Overview {#TreeWidget}
+Title: Tree and List Widget Overview
+Slug: gtk-treeview
To create a tree or list in GTK, use the #GtkTreeModel interface in
conjunction with the #GtkTreeView widget. This widget is designed around
-# Using GTK with Wayland {#gtk-wayland}
+Title: Using GTK with Wayland
+Slug: gtk-wayland
The GDK Wayland backend provides support for running GTK applications
under a Wayland compositor. To run your application in this way, select
-# Using GTK on Windows {#gtk-windows}
+Title: Using GTK on Windows
+Slug: gtk-windows
The Windows port of GTK is an implementation of GDK (and therefore GTK)
on top of the Win32 API. When compiling GTK on Windows, this backend is
-# GTK for the X Window System {#gtk-x11}
+Title: GTK for the X Window System
+Slug: gtk-x11
On UNIX, the X backend is enabled by default, so you don't need to do anything
special when compiling it, and everything should "just work."